package com.cmc.cloud.cmclink.doc.vo.voyagebookingtimevo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @author 周贤
 * @date 2025/5/19
 */
@Schema(description = "管理后台 - 航次截止时间不分页 Request VO")
@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class VoyageBookingTimeQueryVO {

    @Schema(description = "船舶代码")
    private String vesselCode;

    @Schema(description = "航次")
    private String voyage;

    @Schema(description = "进出口类型", example = "2")
    @NotBlank(message = "｛VoyageBookingTimeQueryVO.exImType.NotBlank｝")
    private String exImType;

    @Schema(description = "装货港")
    @NotBlank(message = "｛VoyageBookingTimeQueryVO.podCode.NotBlank｝")
    private String podCode;

    @Schema(description = "航线编码")
    private String laneCode;

    @Schema(description = "etd/eta 时间范围开始")
    @NotBlank(message = "｛VoyageBookingTimeQueryVO.startTime.NotBlank｝")
    private String startTime;

    @Schema(description = "etd/eta 时间范围结束")
    @NotBlank(message = "｛VoyageBookingTimeQueryVO.endTime.NotBlank｝")
    private String endTime;
}
